
# This is a one-line comment
"""
This is a multi-line comment
"""

print('hello world')


bool_var = True
print('bool_var:', 'Type=', type(bool_var), 'Value=', bool_var)

int_var = 123456
print('int_var:', 'Type=', type(int_var), 'Value=', int_var)

float_var = 3.14
print('float_var:', 'Type=', type(float_var), 'Value=', float_var)

string_var = 'hello world'
print('string_var:', 'Type=', type(string_var), 'Value=', string_var)

print('int(bool_var)=[%d], int(float_var)=[%d]' %(int(bool_var), int(float_var)))
print('float(bool_var)=[%f], float(int_var)=[%f]' %(float(bool_var), float(int_var)))

for i in range(9):
    if (i == 8):
        print('[%d]' %(i), end='\n')
    else:
        print('[%d]' %(i), end='')

for i in range(1, 8):
    if (i == 7):
        print('[%d]' %(i), end='\n')
    else:
        print('[%d]' %(i), end='')

for i in range(2, 7, 2):
    if (i == 6):
        print('[%d]' %(i), end='\n')
    else:
        print('[%d]' %(i), end='')

while_cnt = 0
while while_cnt < 100:
    while_cnt += 1
    if (while_cnt == 9):
        print('while_cnt == 9, break', end='\n')
        break;
    if ((while_cnt%2) == 0):
        print('(while_cnt mod 2) == 0) while_cnt=[%d], continue' %(while_cnt))
        continue;
    print('other case while_cnt=[%d]' %(while_cnt))
